<?php
class Category extends Model 
{
	protected $table="category";
	public function getAllCategory()
	{
		$cates=$this->find();
		return $cates;
	}
}